增加分类属性
步骤参考这篇文章 → Hexo使用攻略-添加分类及标签
问题1:在增加分类的时候部署失败
1 | yina:blog Yina$ hexo d |
问题:
fatal: Could not read from remote repository.
原因:
access rights
Please make sure you have the correct access rights
and the repository exists.
Error: ssh_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
找到一个链接:https://github.com/hexojs/hexo/issues/2767
提供的解决方案:
测试:
可以实现部署。
问题2:分类博文在远程出现404错误

过了段时间重新试了下就OK了

问题3:分类没有入口
通过谷歌找到解决方法
要在主题的注册文件中修改。
before
1 | menu: |
after
1 | menu: |